package com.admin.entity;

import com.admin.sys.base.module.extend.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.admin.sys.base.annotation.ExcelField;

/**
*【库存信息】实体对象
*/

public class Stock extends BaseEntity {
    /*** 主键id */
    private String id;
    /*** 物品名称 */
    private String name;
    private String addr;
    /*** 供应商名称 */
    private String supplierId;
    /*** 物品类别 */
    private String categoryId;
    /*** 预警值 */
    private String warnNum;
    /*** 剩余数量 */
    @TableField(exist = false)
    private Integer surplusNum;
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    @ExcelField(title="物品名称",align=1, sort=1)
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @ExcelField(title="供应商名称",align=1, sort=2)
    public String getSupplierId() {
        return this.supplierId;
    }
    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }
    @ExcelField(title="物品类别",align=1, sort=3)
    public String getCategoryId() {
        return this.categoryId;
    }
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }
    @ExcelField(title="库存数量",align=1, sort=4)
    public Integer getSurplusNum() {
        return surplusNum;
    }

    public void setSurplusNum(Integer surplusNum) {
        this.surplusNum = surplusNum;
    }
    @ExcelField(title="预警值",align=1, sort=5)
    public String getWarnNum() {
        return this.warnNum;
    }
    public void setWarnNum(String warnNum) {
        this.warnNum = warnNum;
    }

}